home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / Ubuntu 9.10 PL / karmelkowy-koliberek-desktop-9.10-i386-PL.iso / casper / filesystem.squashfs / usr / include / linux / ncp_no.h < prev    next >
Encoding:
C/C++ Source or Header  |  2009-10-16  |  651 b   |  20 lines

  1. #ifndef _NCP_NO
  2. #define _NCP_NO
  3.  
  4. /* these define the attribute byte as seen by NCP */
  5. #define aRONLY            (__cpu_to_le32(1))
  6. #define aHIDDEN            (__cpu_to_le32(2))
  7. #define aSYSTEM            (__cpu_to_le32(4))
  8. #define aEXECUTE        (__cpu_to_le32(8))
  9. #define aDIR            (__cpu_to_le32(0x10))
  10. #define aARCH            (__cpu_to_le32(0x20))
  11. #define aSHARED            (__cpu_to_le32(0x80))
  12. #define aDONTSUBALLOCATE    (__cpu_to_le32(1L<<11))
  13. #define aTRANSACTIONAL        (__cpu_to_le32(1L<<12))
  14. #define aPURGE            (__cpu_to_le32(1L<<16))
  15. #define aRENAMEINHIBIT        (__cpu_to_le32(1L<<17))
  16. #define aDELETEINHIBIT        (__cpu_to_le32(1L<<18))
  17. #define aDONTCOMPRESS        (__cpu_to_le32(1L<<27))
  18.  
  19. #endif /* _NCP_NO */
  20.